package com.team12.hotel404.service;

import com.team12.hotel404.domain.User;

import java.util.List;

public interface UserService {
    
    List<User> listAllUser();
    
    void updateUserInfo(User user);
    
    void insertUser(User user);
    
    User  find(String  userName);

    User findById(Integer id);

    User findByPhone(String userPhone);

    void updateHotelInfo(User user);

    int Regist(User user);

    int deleteUserById(Integer id);
    List<User> listUserAll();

    void updataStatus(User user1);
}
